<?php

namespace app\common\model;

class Model extends \think\Model
{
    protected $type = ['deletetime' => 'datetime:Y-m-d H:i:s'];

    // 定义时间戳字段名
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';
    protected $deleteTime = 'deletetime';

    const SWITCH_Y = 1;
    const SWITCH_N = 0;
}
